#ifndef SMOGTHREAD_H
#define SMOGTHREAD_H

#include <QObject>
#include <QTcpSocket>
#include <QDebug>

class smogthread : public QObject
{
    Q_OBJECT
public:
    explicit smogthread(QObject *parent = nullptr);
    ~smogthread();
    void run();

signals:
    void smogDataReceived(const QString &data);

private:
     QTcpSocket *socket;

};

#endif // SMOGTHREAD_H
